disable runtime warnings in the defaultvalue test
authorMatthias Clasen <mclasen@redhat.com>
Thu, 3 Jul 2014 19:22:39 +0000 (15:22 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 3 Jul 2014 19:22:39 +0000 (15:22 -0400)
This test operates generically on all properties, so warning
about deprecated properties does not make sense here.

testsuite/gtk/defaultvalue.c

index 11cf4fb3bb9dfde41a636e620fa59dd794960fbe..de74938c20687c06f1bd56f3b28863a85a7bbab3 100644 (file)
@@ -415,6 +415,7 @@ main (int argc, char **argv)
   /* These must be set before before gtk_test_init */
   g_setenv ("GIO_USE_VFS", "local", TRUE);
   g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
+  g_setenv ("G_ENABLE_DIAGNOSTIC", "0", TRUE);
 
   gtk_test_init (&argc, &argv);
   gtk_test_register_all_types();